<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>M in Events | Organisatie, ondersteuning en begeleiding</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<meta name="description" content="M in Events | Organisatie, ondersteuning en begeleiding" />
<meta name="author" content="Tim van den Elsen">
<meta name="rating" content="general">
<meta name="revisit-after" content="5 Days" />
<meta name="robots" content="all" />
<meta name="robots" content="index,follow" />
<link rel="icon" href="images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
<link rel="favicon" href="images/favicon.ico" type="image/x-icon" />
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<div id="wrapper">
  <div id="header">
    <div id="logo"><span class="font_logo"> </span>
      <div id="logo_left"><img src="images/logo.png" width="77" height="83" /></div>
      <div id="tekst_right">M in Events</div>
    </div>
    <div id="buttons">
    <body onload="MM_preloadImages('images/nieuwsbrief_over.png','images/personeel_over.png','images/rooster_over.png','images/marketing_over.png')">
<div style="width:473px">
<div style="clear: both;"></div>

<!--Eerste menuknop -->
<div 
onmouseover="document.getElementById('tabmenu0').style.display=''" 
onmouseout="document.getElementById('tabmenu0').style.display='none'" 
style="margin-right:2px; display:block; width:157px; height:36px; float:left; background-image:url('images/instellingen.png');">
<p> </p> </br>
    <div style="clear: both;"></div>
    <div align="center" id="tabmenu0" style="display:none; width:120px; margin: 0px auto;background-color:#89150E;"> 
        <a style="color:#FFFFFF" href="#">Dashboard</a><br>
        <a style="color:#FFFFFF" href="#">Nieuwsbrief</a><br>
        <a style="color:#FFFFFF" href="#">Personeel</a><br>
        <a style="color:#FFFFFF" href="#">Tickets</a><br>
        <a style="color:#FFFFFF" href="#">Rooster</a><br>
        <a style="color:#FFFFFF" href="#">Marketing</a><br>
    </div>
    <div style="clear: both;"></div>
</div>
<!--Tweede menuknop -->
<div 
onmouseover="document.getElementById('tabmenu1').style.display=''" 
onmouseout="document.getElementById('tabmenu1').style.display='none'" 
style="margin-right:0px; display:block; width:157px; height:36px; float:left; background-image:url('images/faq.png');">
<p> </p> </br>
    <div style="clear: both;"></div>
    <div align="center" id="tabmenu1" style="display:none; width:120px; margin: 0px auto;background-color:#023921; "> 
        <a style="color:#FFFFFF" href="#">Dashboard</a><br>
        <a style="color:#FFFFFF" href="#">Nieuwsbrief</a><br>
        <a style="color:#FFFFFF" href="#">Personeel</a><br>
        <a style="color:#FFFFFF" href="#">Tickets</a><br>
        <a style="color:#FFFFFF" href="#">Rooster</a><br>
        <a style="color:#FFFFFF" href="#">Marketing</a><br>
		        <a style="color:#FFFFFF" href="includes/classes/csv">csv uploaden</a><br>
    </div>
    <div style="clear: both;"></div>
 </div>
 <!--Derde menuknop -->
   		 <a href="#link"><img src="images/uitloggen.png" width="157" height="36" /></a>      
      <p>Ingelogd als: <br />
        <span class="kop5">hoi  </span></p>
    </div>
  </div>
  <div id="content">

      <h3>Laatste Nieuws:</h3>
<?php

/* Generieke definitie file */
include_once 'includes/defs/constants.php';
include_once DIR_INCLUDE. 'debug.php';

/* Taal specifieke tekst */
//debug_echo( DIR_LANGUAGE.'nl/general.php');
include DIR_LANGUAGE.'nl/general.php';



// Message board interface
include_once FILE_CLASS_MESSAGEBOARD;
//*

// tijdelijk id todat personeelsbestand werkt //
$id= 1;

$messageboard = new Messageboard();

$msg_array = $messageboard->getUserMessageBoard($id,7);

foreach( $msg_array as $nr => $msg ){
    
    echo "<b>" . $msg['msg_titel'] . " </b><br /> <a href='". $msg["msg_link"]."' /> " . $msg["msg_link"]. "</a> <br /> " . $msg["msg_beschrijving"] . '<br /> <br />';
}
/*
echo "<pre>";
var_dump($msg);
echo "</pre>";
//*/

/*
?>
  
    <hr />
    <?php echo TXT_EXAMPLE; ?>
    <hr />
<?php
//*/
?>

  </div>
  <div id="level0"><a href="#link" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('nieuwsbrief','','images/nieuwsbrief_over.png',1)"><img src="images/nieuwsbrief.png" name="nieuwsbrief" width="264" height="100" border="0" id="nieuwsbrief" /></a></div>
  <div id="level1"><a href="#link" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('personeel','','images/personeel_over.png',1)"><img src="images/personeel.png" name="personeel" width="278" height="129" border="0" id="personeel" /></a></div>
  <div id="level2"><a href="ticketsysteem.php"><img src="images/tickets.png" width="323" height="171" /></a></div>
  <div id="level3"><a href="rooster.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('rooster','','images/rooster_over.png',1)"><img src="images/rooster.png" name="rooster" width="251" height="126" border="0" id="rooster" /></a></div>
  <div id="level4"><a href="marketing.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('marketing','','images/marketing_over.png',1)"><img src="images/marketing.png" name="marketing" width="233" height="98" border="0" id="marketing" /></a></div>
  <div id="footer">Realisatie: Stichting Innovision Solutions</div>
</div>
</body>
</html>
